package designmodel.handler;

/**
 * 实际的责任链处理者2
 *
 * @author scylla
 * @version V1.0
 * @project echo-java-base
 * @title 实际的责任链处理者2
 * @package designmodel.handler
 * @since 2022/5/19 5:33 下午
 */
public class ConcretHandler2 extends AbstractHandler {


    @Override
    public void handleRequest(int request) {

        if (request >= 10 && request < 20) {
            System.out.println("ConcretHander2 get this request");
        } else {
            doNext(request);
        }


    }


}
